﻿using Header;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace QLCTChauLuc
{
    [ServiceContract]
    public interface IImportExport
    {
        [OperationContract]
        void AddVoucher(ImportGoodVoucher voucher);

        [OperationContract]
        void AddVoucher(ExportGoodVoucher voucher);

        [OperationContract]
        void UpdateVoucher(ImportGoodVoucher newvoucher);

        [OperationContract]
        void UpdateVoucher(ExportGoodVoucher newvoucher);

        [OperationContract]
        void DeleteVoucher(ImportGoodVoucher voucher);

        [OperationContract]
        void DeleteVoucher(ExportGoodVoucher voucher);
        
        [OperationContract]
        Object[] SearchVoucher(VoucherSearch[] searches);
    }

}
